package com.topnav.mc.admin.entity;


import javax.validation.constraints.NotBlank;
import com.baomidou.mybatisplus.annotation.TableName;
import com.topnav.mc.entity.base.BaseEntity;
import com.topnav.mc.validator.group.IAdd;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 说明：
 * @类名: Dictionary
 * <p>
 *
 * </p>
 * @author   kenny
 * @Date	 2021年12月1日下午6:28:19
 */
@Data
@TableName("mc_dictionary")
public class Dictionary extends BaseEntity{
	/** */
	private static final long serialVersionUID = 4492273296724273589L;

	@ApiModelProperty(value="编号")
	@NotBlank(message = "不允许为空",groups={IAdd.class})
	private String code;
	@ApiModelProperty(value="编号")
	@NotBlank(message = "不允许为空",groups={IAdd.class})
	private String name;
	@ApiModelProperty(value="顺序")
	private Integer order=10;
}
